﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DatHang.aspx.cs" Inherits="ajax_DatHang" %>
<% if (oUser != null)
       { %>
       <form runat="server" id="form1">
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tbody>
            <tr>
                <td>
                    <style type="text/css">
                        .dropcontent
                        {
                            width: 350px;
                            height: auto;
                            padding-top: 0px;
                            padding-bottom: 0px;
                            padding-left: 0px;
                            padding-right: 0px;
                            display: block;
                        }
                    </style>
                    <style type="text/css">
                        .dropcontent
                        {
                            display: none;
                        }
                    </style>
                    <input type="hidden" name="kind" value="1">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tbody>
                            <tr>
                                <td valign="top">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td width="49%" valign="top">
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tbody>
                                            <tr>
                                                <td width="49%" height="30" background="images/bgtop.jpg" bgcolor="#DDDDDD" class="bgmenupro"
                                                    style="padding-left: 10px; border-top: 1px #CCCCCC solid; border-left: 1px #CCCCCC solid;
                                                    border-right: 1px #CCCCCC solid;">
                                                    <strong>Thông tin đặt hàng đặt hàng</strong>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="top" style="border: 1px #CCCCCC solid; padding: 10px; height: 210px;">
                                                    <table width="100%" border="0" cellpadding="3" cellspacing="0" bordercolor="#CCCCCC"
                                                        style="font-family: Tahoma; font-size: 10pt; border-collapse: collapse; padding: 10px">
                                                        <tbody>
                                                            <tr>
                                                                <td width="30%">
                                                                    Tên đầy đủ (*)
                                                                </td>
                                                                <td width="70%">
                                                                    <asp:TextBox runat="server" ID="txthoten" CssClass="box_input"></asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr bgcolor="">
                                                                <td>
                                                                    Điện thoại (*)
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox runat="server" ID="txtdienthoai" CssClass="box_input"></asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    Địa chỉ email
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox runat="server" ID="txtemail" CssClass="box_input"></asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr bgcolor="">
                                                                <td>
                                                                    Địa chỉ (*)
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox runat="server" ID="txtdiachi" CssClass="box_input"></asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td valign="top">
                                                                    Yêu cầu khác
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox runat="server" ID="txtnoidung" CssClass="box_input" TextMode="MultiLine"
                                                                        Rows="10"></asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                </td>
                                                                <td>
                                                                    <asp:Button runat="server" Text="Đặt hàng" Width="120" Height="25" OnClick="Unnamed3_Click1" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="2">
                                                                    <asp:Label runat="server" ID="lblthongbao"></asp:Label>
                                                                </td>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <script language="javascript" type="text/javascript" src="../js/switchcontent.js"></script>
                    <p id="joecontent1" class="switchgroup2" style="display: none;">
                    </p>
                    <table border="0" align="center" cellpadding="0" cellspacing="0">
                        <tbody>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
    </form>
    <% }
       else
       { %>
    <div style="color: red;text-align: center;width: 100%">Bạn hãy đăng nhập để đặt hàng</div>
    <% } %>